home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / WinWait.au3 < prev    next >
Text File  |  2006-06-17  |  165b  |  8 lines

  1. ;Wait for the window "Untitled" to exist
  2.  
  3. Run("notepad")
  4. WinWait("Untitled")
  5.  
  6. ;Wait a maximum of 5 seconds for "Untitled" to exist
  7. WinWait("Untitled", "", 5)
  8.